BigCommerce\Post_Types\Product\Product D

Total Complexity 131
Dependencies 17
Dependents 93
Total lines 768
Lines of code 449
Logical lines of code 253
Comment lines 179
Methods 44
Properties 2

Methods 44

Method Rating Maintainability Complexity Lines of code
options()
A
46 9 39
purchase_message()
A
53 9 20
price_range()
A
54 8 18
purchase_button()
S
50 7 24
youtube_videos()
S
52 7 22
modifiers()
S
52 6 24
by_product_id()
S
48 5 35
get_inventory_level()
S
59 6 14
calculated_price_range()
S
57 5 14
related_products()
S
51 4 25
get_gallery_ids()
S
61 4 11
maybe_serialize_from_api()
S
63 4 10
get_source_data()
S
63 3 11
get_property()
S
65 3 10
availability()
S
68 3 7
has_options()
S
67 3 8
brand()
S
68 3 7
out_of_stock()
S
64 3 10
get_listing_id()
S
68 3 7
related_products_by_category()
S
59 2 14
get_channel_id()
S
65 2 9
get_listing_data()
S
68 2 7
get_reviews()
S
68 2 7
is_purchasable()
S
69 2 7
get_custom_fields()
S
74 2 4
json_encode_maybe_from_api()
S
69 2 7
retail_price()
S
68 2 7
condition()
S
68 2 7
get_channel()
S
67 2 8
purchase_url()
S
70 2 6
get_review_count()
S
78 1 3
low_inventory()
S
79 1 3
__construct()
S
81 1 3
__get()
S
80 1 3
update_options_data()
S
73 1 5
update_modifier_data()
S
73 1 5
update_listing_data()
S
73 1 5
update_source_data()
S
73 1 5
on_sale()
S
79 1 3
show_condition()
S
79 1 3
sku()
S
80 1 3
bc_id()
S
78 1 3
post_id()
S
82 1 3
update_custom_field_data()
S
79 1 3